package org.springblade.pm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.pm.config.DataSource;

import java.util.List;
import java.util.Map;

public interface OverViewMapper extends BaseMapper<BaseEntity> {

	@DataSource("slave")
	Map<String,Object> getHumanTaskTime(String projectCode);
	@DataSource("slave")
	String getUserFreeRank(Map<String, Object> map);
	@DataSource("slave")
	List<String> getUserByProject(String projectCode);

	List<Map<String,String>> getActiveList(Integer projectId);
}
